package com.example.tests;

//import static org.hamcrest.Matchers.equalTo;
//import static org.junit.Assert.assertThat;
//import static org.testng.Assert.*;

import org.testng.annotations.Test;

import com.example.utils.ListOf;
//import com.example.utils.SortedListOf;

public class PrintPhonesTest extends TestBase{
	
//	@Test
//	public void testCoincidenceNumberContacts() {		
//		SortedListOf<ContactData> contactList = app.getContactHelper().getContacts();
//		int sizeBookContact = app.getPhonesContactHelper().getSizeAddressBook();
//		assertThat(contactList.size(), equalTo(sizeBookContact));
//	}
	
	@Test
	public void testMatchesOrderContacts() {		
		ListOf<AddressBookData> contactList = app.getPhonesContactHelper().getContactInfo();
		ListOf<AddressBookData> bookList = app.getPhonesContactHelper().getBookInfo();
		
		System.out.println(contactList.toString());
		System.out.println(bookList.toString());
//		assertEquals(bookList, contactList);
	}

}
